$(document).on('pageshow', '#Sunday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Saturday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Monday", {transition: "slide"});
	});
});
$(document).on('pageshow', '#Monday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Sunday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Tuesday", {transition: "slide"});
	});
});
$(document).on('pageshow', '#Tuesday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Monday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Wednesday", {transition: "slide"});
	});
});
$(document).on('pageshow', '#Wednesday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Tuesday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Thursday", {transition: "slide"});
	});
});
$(document).on('pageshow', '#Thursday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Wednesday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Friday", {transition: "slide"});
	});
});
$(document).on('pageshow', '#Friday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Thursday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Saturday", {transition: "slide"});
	});
});
$(document).on('pageshow', '#Saturday', function(){
	$('body').on('swiperight', function(){
		$.mobile.changePage("#Friday", {transition: "slide", reverse: true});
	});
	$('body').on('swipeleft', function(){
		$.mobile.changePage("#Sunday", {transition: "slide"});
	});
});
$(document).on('pagehide', function(){
	$('body').unbind();
});